﻿@model int
@{
    ViewBag.Title = "批量上传档案";
}

<h2>AddArchives</h2>
<p>@Html.ValidationSummary(true)</p>

<div>
    @foreach(var name in (List<PessModel.ArchiveDisplayName>)ViewBag.DisplayNames)
    {
        <span>@name.DisplayName </span>
    }
</div>
<div >
    @using (Html.BeginForm("AddArchives", "Archive", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {
        <input type="file" name="file" />
        <input type="submit" value="导入" class="u-btn f-rd-mr" />
        @Html.Hidden("activityID", new { activityID = Model })
    }
</div>

<p>添加记录数：@ViewBag.ArchivesAdded</p>